package com.qfedu.service;

import com.qfedu.pojo.Debit_card;
import com.qfedu.pojo.MoneyRate;

import java.math.BigDecimal;
import java.sql.Connection;
import java.util.Date;

public interface SaveService {

    Debit_card queryByCardnumber(String cardnumber);

    int currentToFixed(Debit_card debit_card, Date date, BigDecimal money, BigDecimal fixed_money);

    int fixedToCurrent(Debit_card debit_card, Date date,BigDecimal money,BigDecimal fixed_money);

    int updateTime(String cardnumber,String time);

    MoneyRate findRate(String bank_name, String time);
}
